package com.kai.factory.before;

/**
 * @Author Mr.Yan
 * @create 2022/3/24 12:50
 * @description:
 */
public class Client {
    public static void main(String[] args) {
        CoffeeShop coffeeShop = new CoffeeShop();
        Coffee coffee = coffeeShop.orderCoffee("latter");
        coffee.addMilk();
        coffee.addSalty();
        System.out.println(coffee.getName());
    }
}
